package com.tencent.qf.team.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tencent.qf.team.dal.TyShareCode;
import com.tencent.qf.team.dal.TyShareCodeKey;
import com.tencent.qf.team.dto.db.GuiderShareStatisticDo;
import com.tencent.qf.team.dto.db.GuiderShareStatisticReturnDo;
import com.tencent.qf.team.dto.response.GuiderSharePaginateResponse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@DS("irisBusinessData")
@Mapper
public interface TyShareCodeDao {
    TyShareCode selectByPrimaryKey(TyShareCodeKey key);

    List<GuiderShareStatisticReturnDo> guiderShareStatistic(GuiderShareStatisticDo shareStatisticDo);

    List<TyShareCode> queryShareCodes(GuiderShareStatisticDo shareStatisticDo);

    List<GuiderSharePaginateResponse> guiderSharePaginate(GuiderShareStatisticDo shareStatisticDo);

    List<TyShareCode> queryShareCodesByContentId(GuiderShareStatisticDo shareStatisticDo);
}